import request from '@/utils/myrequest'
// 初始化信息
export function getInitList(kvs) {
  return request({
    url: '/config/Trees/GetList',
    method: 'get',
    kvs
  })
}

// 新增
export function doAdd(kvs) {
  return request({
    url: '/config/Trees/Add',
    method: 'POST',
    kvs
  })
}

// 编辑
export function doUpdate(kvs) {
  return request({
    url: '/config/Trees/Update',
    method: 'POST',
    kvs
  })
}

// 详情
export function getInfo(kvs) {
  return request({
    url: '/config/Trees/Get',
    method: 'get',
    kvs
  })
}

// 删除
export function doDelete(kvs) {
  return request({
    url: '/config/Trees/Delete',
    method: 'POST',
    kvs
  })
}
